<!-- Begin issues/group_status_miniview.tpl -->

{opentable}
{titlebar colspan=8 title=$lg->group_standing}
<tr align="center" class="sectiontableheader">
	<td width="5%" >{$lg->detail}</td>
	<td >{$lg->group}</td>
	<td width="5%" >{$lg->new}</td>
	<td width="5%" >{$lg->open}</td>
</tr>
{if count($group_status) > 0}
{foreach from=$group_status key=gid item=group}
{if show_group($gid)}
<tr class="sectiontableentry1" align="center">
	<td onclick="ShowHideIssues(this);" id="b{$gid}" style="cursor:pointer">+</td>
	<td align="left"><a href="?module=issues&action=group&gid={$gid}">{$group.name}</a></td>
	<td>{$group.new}</td>
	<td>{$group.open}</td>
</tr>
<tr>
  <td colspan="10" >
    <table cellPadding="0" width="100%" id="gi{$gid}" style="display:none">
  	{if $group.new > 0 or $group.open}
      <tr class="sectiontableheader" align="center">
        <td width="5%"  >{$lg->issues}</td>
        <td width="65%" >{$lg->short_description}</td>
        <td width="15%" >{$lg->status}</td>
      </tr>
      {foreach from=$issues_group key=issueid item=issues}
        {if $issues.gid == $gid}
          <tr class="sectiontableentry1">
            <td  align = "center"><a href="?module=issues&action=view&issueid={$issues.issueid}&gid={$gid}">{$issues.issueid}</a></td>
            <td>{$issues.objet}</td>
			<td>{status id=$issues.status}</td>
          </tr>
        {/if}
      {/foreach}
	 {/if}
    </table>
  </td>
<tr>
{/if}
{/foreach}
{else}
<tr class="data"><td colspan="8" align="center">No group standings to display.</td></tr>
{/if}
</table>
<br>
<!-- End issues/group_status_miniview.tpl-->
